package com.zqweb.gulimall.coupon;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@MapperScan("com.zqweb.gulimall.coupon.dao")
@EnableDiscoveryClient // 开启服务的发现与注册（即允许当前服务/Client发现注册中心并注册进去）
public class Coupon_MainApplication {
    public static void main(String[] args) {
        new SpringApplication(Coupon_MainApplication.class).run(args);
    }
}
